import type { MenubarItemType } from "@/components/framework/menubar.types.ts";

/**
 * 菜单栏的菜单定义(目前无用)
 */
export const appMenuItems: MenubarItemType[] = [
  {
    key: "file",
    label: "文件",
    children: [
      { key: "exit", label: "退出", onClick: () => native.ipc.send("window.close") },
      // ...
    ],
  },
  {
    key: "help",
    label: "帮助",
    children: [
      {
        key: "about",
        label: "关于",
        onClick: () => void 0,
      },
    ],
  },
];
